package com.hkts.naturalgas.flow.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hkts.naturalgas.mybaitsPlus.BaseEntity;
import lombok.Data;

/**
 * <p>
 *
 * </p>
 *
 * @author zy
 * @since 2022-08-31
 */
@Data
@TableName("flow_userInfo")
public class FlowUserinfo extends BaseEntity {

    private static final long serialVersionUID = 1L;
    public static Integer USER_TYPE_USER=0;
    public static Integer USER_TYPE_ROLE=1;
    public static Integer USER_TYPE_DEPART=2;

    public static Integer DATA_TYPE_ACCESS=0;
    public static Integer DATA_TYPE_BEINGACCESS=1;
    public static Integer DATA_TYPE_COPY=2;

    private String id;
    /**
     * 模板id
     */
    private String templateId;
    private String templateVersion;
    /**
     * 用户或者角色id
     */
    private String userRoleId;
    private String userRoleName;
    /**
     * 0：用户；1：角色；2：部门
     */
    private Integer userType;
    /**
     * 0:发起审核人；1：被审核人；2抄送人员
     */
    private Integer dataType;


}
